package com.ozo.cloud.api.system.feign;

import com.ozo.cloud.api.system.dto.SysLoginLogDTO;
import com.ozo.cloud.common.base.model.ResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 登录日志服务调用
 *
 * @author qiangesoft
 * @date 2024-09-11
 */
@FeignClient(name = "ozo-cloud-system", contextId = "sysLoginLogFeignClient", path = "/system")
public interface SysLoginLogFeignClient {

    @PostMapping("/feign/loginLog/add")
    ResultVO<Void> add(@RequestBody SysLoginLogDTO loginLogDTO);

}
